<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Amazing聯播網</title>

<?php 
include_once 'template/usercheck.php';
include_once 'template/adSession.php';
?>
<script type="text/javascript" src="/ad/html/js/util.js"></script>
<script type="text/javascript" src="/ad/html/frontoffice/js/tigerStep2.js"></script>

<!-- Framework CSS -->
<link rel="stylesheet" href="../css/blueprint/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="../css/blueprint/print.css" type="text/css" media="print" />
<!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection" /><![endif]-->
<link href="../css/tiger11.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!--[if IE 6]><link href="css/tiger11IE6.css" rel="stylesheet" type="text/css" media="screen, projection" /><![endif]-->
</head>
 
 <style type="text/css">  
  .cls_a {  
   display: block;  
   border: 1px solid #aaa;  
   text-decoration: none;  
   background-color: #fafafa;  
   color: #123456;  
   margin: 2px;  
   clear:both;  
  }  
  .cls_div {  
   float:left;  
   text-align: center;  
   margin: 10px; 
  }  
  .ContentForm select {  
   width: 150px;  
   height: 120px;  
  }  
 </style>  

<body>
	
						  

	<div class="container">
	  <div class="span-24" id="Header">
		    <?php include_once 'template/tigerTitle.php';?>
		    <div class="span-24" id="TopTitle">
		    	<h1>刊登廣告</h1>
		    </div>
		    <div class="span-24" id="Path">
			    <a href="tigerStep1.php" class="last2" ><span class="Steps">Step1</span><span>設計你的廣告</span></a>
			    <a href="tigerStep2.php" class="current"><span class="Steps">Step2</span><span>目標設定</span></a>
			    <a href="tigerStep3.php"><span class="Steps">Step3</span><span>活動、預算和排期</span></a>
			    <a href="tigerStep4.php"><span class="Steps">Step4</span><span>預覽廣告</span></a>
		    </div>
	  </div>
	  <div class="span-24" id="MainConteiner">
		  <div id="MainConteiner-in">
			  <form id="form" action="/ad/sys/com/control/AdService.php?action=step2Action" method="post" class="ContentForm">
				  <fieldset> 
					  <legend><h2>目標設定</h2></legend> 
					  <label style="  float:left;  ">國家/地區:</label><br></br>
					 
					  <input type="hidden" id="areaName" name="areaName"/>
					   <input type="hidden" id="area" name="area"/>
		    		  <?php include_once 'template/areaList.php';?>
				  </fieldset><!--目標-->
				  <fieldset>
					  <legend><h2>廣告受眾人口特性</h2></legend>
					  <fieldset>  
					  	<label for="IssueDate">年齡:</label>
					  	<input id="ageStart" name="ageStart" type="text" maxlength="2" style="width:70px"/>~
					  	<input id="ageEnd" name="ageEnd" type="text"  maxlength="2" style="width:70px"/>
					  </fieldset>
					  <fieldset>  
						  <label for="sex">性別:</label>
						  <p>
						    <label><input type="radio" name="sex" value="0" checked="checked"/>全部</label>
						    <label><input type="radio" name="sex" value="1"/>男性</label>
						    <label><input type="radio" name="sex" value="2"/>女性</label>
						 </p>
					  </fieldset>
				  </fieldset><!--廣告受眾人口特性-->
				  <fieldset>
					  <legend><h2>刊登類別</h2></legend>
					  <p>
					     <div id="categoryGroup"></div>
					  </p>
				   </fieldset><!--刊登類別-->
				   <fieldset class="control">  
				   		<input id="btnPrevious" value="上一步"  type="button" /> 
				   		<input id="btnNext" value="下一步" type="button" />
				   </fieldset> 
			  </form>
		  </div>
	   </div>
	   <?php include_once 'template/tigerFooter.php'?>
	</div>
</body>
</html>
